Skip to content

feat: wire @moonlight/ui gallery into infra-up/down (:3060) - #98

Merged
AquiGorka merged 1 commit into
mainfrom
feat/wire-ui-gallery
May 26, 2026
Merged

feat: wire @moonlight/ui gallery into infra-up/down (:3060)#98
AquiGorka merged 1 commit into
mainfrom
feat/wire-ui-gallery

Conversation

@AquiGorka

Copy link
Copy Markdown
Contributor

Summary

  • infra-up.sh: new MOONLIGHT_UI_PATH + MOONLIGHT_UI_PORT=3060 env vars, [ -d ] validation, and boot block (section 13/13) at the end of the frontend boot sequence — mirrors the network-dashboard pattern (cdPORT=$MOONLIGHT_UI_PORT nohup deno task gallery → 10-iteration curl -sf poll). Existing section labels renumbered X/12 → X/13. Gallery line added to the final "Services:" echo.
  • down.sh: MOONLIGHT_UI_PORT="${MOONLIGHT_UI_PORT:-3060}" + stop_process "moonlight-ui-gallery" "$SCRIPT_DIR/.moonlight-ui.pid" "$MOONLIGHT_UI_PORT" + moonlight-ui.log cleanup.
  • README.md: ui/ added to the Repos tree; gallery row added to the numbered service list; section count 11 → 12.

Why

@moonlight/ui is the shared vanilla-DOM component library consumed by provider-console, council-console, network-dashboard, and moonlight-pay. Its deno task gallery server is the live-preview surface developers iterate components against. Wiring it into infra-up means it comes up alongside the other frontends in the standard local-dev cycle.

Test plan

  • bash -n infra-up.sh + bash -n down.sh clean
  • Scoped smoke (gallery has no dependency on Stellar/Postgres/Jaeger so this exercises the exact wiring without booting the rest): the new boot block lines boot the gallery in 1s, curl -sf http://localhost:3060/ returns 200, the new teardown lines stop the process and leave port 3060 free
  • CI fmt-lint matrix dirs (testnet, lifecycle, e2e, e2e/pos-instant, e2e/governance) all green locally — untouched by this PR

Adds @moonlight/ui gallery dev server boot to infra-up.sh as section
13/13 (port 3060), mirroring the network-dashboard pattern. down.sh
tears it down by port. README documents the new service.
@AquiGorka
AquiGorka merged commit 5bc2f6f into main May 26, 2026
7 checks passed
@AquiGorka
AquiGorka deleted the feat/wire-ui-gallery branch May 26, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant